libxl: Add API to retrieve domain console tty
authorBamvor Jian Zhang <bjzhang@suse.com>
Wed, 6 Jun 2012 11:46:18 +0000 (12:46 +0100)
committerBamvor Jian Zhang <bjzhang@suse.com>
Wed, 6 Jun 2012 11:46:18 +0000 (12:46 +0100)
commitab6671ba2613a0a05fc0914f60590610202aa4df
tree6850c25886f9c942c363f73e8ee1fbad0f26449e
parent6cf7902d214993f6134cea28dc0ab18d624eab0f
libxl: Add API to retrieve domain console tty

This api retrieve domain console from xenstore. With this new api, it is easy
to implement "virsh console" command in libvirt libxl driver.

Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- use NOGC instead of 0 to allow improvements to this infrastructure
         in the future ]
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h